//
//  BeanORM.h
//  storeapp
//
//  Created by huangyi on 13-4-17.
//  Copyright (c) 2013年 ios. All rights reserved.
//

#import <Foundation/Foundation.h>

@class BeanTable;
@class BeanObject;
@class FMDatabase;

@interface BeanDatabase : NSObject

-(id)initWithDatabase:(NSString*)filename;
-(BeanTable*)getTable:(NSString*)tablename;
-(FMDatabase*)getFMDB;
-(void)closeDatabase;
-(BeanObject*)dispense:(NSString*)tablename;
//-(NSArray*)getTableNames;

@end
